xen: decouple NUMA from ACPI in Kconfig
authorWei Chen <wei.chen@arm.com>
Fri, 10 Jun 2022 05:53:12 +0000 (13:53 +0800)
committerJulien Grall <jgrall@amazon.com>
Fri, 17 Jun 2022 08:36:12 +0000 (09:36 +0100)
commit1f0a8e28ba00890199e23de3d9d77a6c9593d363
treef42ba1c082d04751319e108f60cc58e4a82b7a38
parent15e64b8a099eb9d37485fdc2046ac769cc6a1628
xen: decouple NUMA from ACPI in Kconfig

In current Xen code only implements x86 ACPI-based NUMA support.
So in Xen Kconfig system, NUMA equals to ACPI_NUMA. x86 selects
NUMA by default, and CONFIG_ACPI_NUMA is hardcode in config.h.

In a follow-up patch, we will introduce support for NUMA using
the device tree. That means we will have two NUMA implementations,
so in this patch we decouple NUMA from ACPI based NUMA in Kconfig.
Make NUMA as a common feature, that device tree based NUMA also
can select it.

Signed-off-by: Wei Chen <wei.chen@arm.com>
Tested-by: Jiamei Xie <jiamei.xie@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Kconfig
xen/arch/x86/include/asm/config.h
xen/common/Kconfig
xen/drivers/acpi/Kconfig
xen/drivers/acpi/Makefile